//
//  LCAllInterface.m
//  LCPackage
//
//  Created by 马军凯 on 2021/6/22.
//  Copyright © 2021 龙采科技集团. All rights reserved.
//

#import "LCAllInterface.h"

@implementation LCAllInterface
//单例
+ (LCAllInterface *)sharedInterface {
    static LCAllInterface *sharedInterface = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        sharedInterface = [[self alloc] init];
    });
    return sharedInterface;
}
//初始化
- (id)init {
    if (self = [super init]) {
        [self writeDefaultConfiguration];
    }
    return self;
}
//拼接域名
- (NSString *)APIUrlWithPath:(NSString *)path {
    return [NSString stringWithFormat:@"%@/%@", self.domain, path];
}

//初始化设置
- (void)writeDefaultConfiguration {
    
}
@end
